widget: Check the widget has an allocation in gtk_widget_draw()
authorBenjamin Otte <otte@redhat.com>
Wed, 15 Sep 2010 01:20:59 +0000 (03:20 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 26 Sep 2010 13:11:43 +0000 (15:11 +0200)
commit5f57cede3cdfb1815e6be9ba7b24e1412f406b90
tree4a942f334cecc31fd244f5a04667532a879434b5
parentb89920e203c8ccc90181e4f7131547ea97809d92
widget: Check the widget has an allocation in gtk_widget_draw()

Following the mailing list discussion, require that the widget does not
have a pending size_allocate when calling the draw function.

http://mail.gnome.org/archives/gtk-devel-list/2010-September/msg00214.html
and the associated thread explain this in more detail.
gtk/gtkwidget.c